package com.urbo.android.shortcutter;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;


public class HelpViewer extends Activity{
	
	private WebView myWebView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.html_view);
		
		myWebView = (WebView)findViewById(R.id.web_view);
		myWebView.getSettings().setJavaScriptEnabled(true);
		//myWebView.loadData("file:///android_asset/help.html", "text/html", "utf-8");
	}
	
	@Override
	protected void onStart() {
		super.onStart();
		String url = this.getIntent().getExtras().getString( "url" );
		myWebView.loadUrl( url);
	}
}
